package com.mmall.service;

import com.mmall.common.ServerResponse;
import com.mmall.vo.CartVo;

public interface CartService {

    public ServerResponse<CartVo> addProductToCart(Integer userId, Integer productId, Integer count);

    public ServerResponse<CartVo>updateCart(Integer userId,Integer productId,Integer count);

    public ServerResponse deleteCart(Integer userId,String  productIds);

    public ServerResponse updateCheckedOneOrAll(Integer userId,Integer productId,Integer checked);


}
